import pandas as pd

a = [1, 2, 3]
myvar = pd.Series(a)
print(myvar)

a = ["Google", "Runoob", "Wiki"]
myvar = pd.Series(a, index=["x", "y", "z"])
print(myvar)
print(myvar['y'])

sites = {
    1: 'Google',
    2: 'Runoob',
    3: 'Wiki'
}
myvar = pd.Series(sites)
print(myvar)

sites = {1: "Google", 2: "Runoob", 3: "Wiki"}
myvar = pd.Series(sites, index=[1, 2])
print(myvar)

sites = {1: "Google", 2: "Runoob", 3: "Wiki"}
myvar = pd.Series(sites, index=[1, 2], name="RUNOOB-Series-TEST")
print(myvar)
